//
// Created by hjie on 23-5-15.
//

#pragma once

#include "redis_message.h"
#include "redis_optional.h"
#include <vector>

class RedisMessageRequest
{
public:
    RedisMessageRequest();
    ~RedisMessageRequest();
public:
    bool ParseRequest(const std::string & command);
    bool ParseRequest(RedisOption & prepare, const std::string & command);
    std::string GetData();
private:
    RedisMessage * m_message;
};

